package com.api.shopapi.mapper;

import com.api.shopapi.entity.Interface;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface InterfaceMapper {

    @Select("select * from interface where interfaceCode=#{interfaceCode} limit 1")
    Interface getByInterfaceCode(@Param("interfaceCode") String interfaceCode);

}